MegaLandmarkTrackerLocalizationResponse Class

Description

MegaLandmarkTracker定位请求的响应。

inputFrame

请求时使用的输入帧。

C

void easyar_MegaLandmarkTrackerLocalizationResponse_inputFrame(const easyar_MegaLandmarkTrackerLocalizationResponse * This, easyar_InputFrame * * Return)

C++

std::shared_ptr<InputFrame> inputFrame()

Java

public @Nonnull InputFrame inputFrame()

Kotlin

fun inputFrame(): InputFrame

Objective-C

- (easyar_InputFrame *)inputFrame

Swift

public func inputFrame() -> InputFrame

C#

public virtual InputFrame inputFrame()

acceleration

请求时使用的加速度计读数。

C

easyar_OptionalOfAccelerometerResult easyar_MegaLandmarkTrackerLocalizationResponse_acceleration(const easyar_MegaLandmarkTrackerLocalizationResponse * This)

C++

std::optional<AccelerometerResult> acceleration()

Java

public @Nullable AccelerometerResult acceleration()

Kotlin

fun acceleration(): AccelerometerResult?

Objective-C

- (easyar_AccelerometerResult *)acceleration

Swift

public func acceleration() -> AccelerometerResult?

C#

public virtual Optional<AccelerometerResult> acceleration()

location

请求时使用的位置读数。

C

easyar_OptionalOfLocationResult easyar_MegaLandmarkTrackerLocalizationResponse_location(const easyar_MegaLandmarkTrackerLocalizationResponse * This)

C++

std::optional<LocationResult> location()

Java

public @Nullable LocationResult location()

Kotlin

fun location(): LocationResult?

Objective-C

- (easyar_LocationResult *)location

Swift

public func location() -> LocationResult?

C#

public virtual Optional<LocationResult> location()

appId

服务appId。

C

void easyar_MegaLandmarkTrackerLocalizationResponse_appId(const easyar_MegaLandmarkTrackerLocalizationResponse * This, easyar_String * * Return)

C++

std::string appId()

Java

public java.lang.@Nonnull String appId()

Kotlin

fun appId(): String

Objective-C

- (NSString *)appId

Swift

public func appId() -> String

C#

public virtual string appId()

status

定位状态。

C

easyar_MegaLandmarkTrackerLocalizationStatus easyar_MegaLandmarkTrackerLocalizationResponse_status(const easyar_MegaLandmarkTrackerLocalizationResponse * This)

C++

MegaLandmarkTrackerLocalizationStatus status()

Java

public int status()

Kotlin

fun status(): Int

Objective-C

- (easyar_MegaLandmarkTrackerLocalizationStatus)status

Swift

public func status() -> MegaLandmarkTrackerLocalizationStatus

C#

public virtual MegaLandmarkTrackerLocalizationStatus status()

spotVersionId

地点版本ID。

C

void easyar_MegaLandmarkTrackerLocalizationResponse_spotVersionId(const easyar_MegaLandmarkTrackerLocalizationResponse * This, easyar_OptionalOfString * Return)

C++

std::optional<std::string> spotVersionId()

Java

public java.lang.@Nullable String spotVersionId()

Kotlin

fun spotVersionId(): String?

Objective-C

- (NSString *)spotVersionId

Swift

public func spotVersionId() -> String?

C#

public virtual Optional<string> spotVersionId()

instances

当前定位到的block的实例。已有的实例会一直保持直到定位到另一个block,或者MegaLandmarkTracker被stop或pause。

C

void easyar_MegaLandmarkTrackerLocalizationResponse_instances(const easyar_MegaLandmarkTrackerLocalizationResponse * This, easyar_ListOfMegaLandmarkTrackerBlockInstance * * Return)

C++

std::vector<std::shared_ptr<MegaLandmarkTrackerBlockInstance>> instances()

Java

public java.util.@Nonnull ArrayList<@Nonnull MegaLandmarkTrackerBlockInstance> instances()

Kotlin

fun instances(): ArrayList<MegaLandmarkTrackerBlockInstance>

Objective-C

- (NSArray<easyar_MegaLandmarkTrackerBlockInstance *> *)instances

Swift

public func instances() -> [MegaLandmarkTrackerBlockInstance]

C#

public virtual List<MegaLandmarkTrackerBlockInstance> instances()

extraInfo

C

void easyar_MegaLandmarkTrackerLocalizationResponse_extraInfo(const easyar_MegaLandmarkTrackerLocalizationResponse * This, easyar_String * * Return)

C++

std::string extraInfo()

Java

public java.lang.@Nonnull String extraInfo()

Kotlin

fun extraInfo(): String

Objective-C

- (NSString *)extraInfo

Swift

public func extraInfo() -> String

C#

public virtual string extraInfo()

errorMessage

错误信息。当status为UnknownError时有值。

C

void easyar_MegaLandmarkTrackerLocalizationResponse_errorMessage(const easyar_MegaLandmarkTrackerLocalizationResponse * This, easyar_OptionalOfString * Return)

C++

std::optional<std::string> errorMessage()

Java

public java.lang.@Nullable String errorMessage()

Kotlin

fun errorMessage(): String?

Objective-C

- (NSString *)errorMessage

Swift

public func errorMessage() -> String?

C#

public virtual Optional<string> errorMessage()

serverResponseDuration

服务器响应耗时(秒)。

C

easyar_OptionalOfDouble easyar_MegaLandmarkTrackerLocalizationResponse_serverResponseDuration(const easyar_MegaLandmarkTrackerLocalizationResponse * This)

C++

std::optional<double> serverResponseDuration()

Java

public java.lang.@Nullable Double serverResponseDuration()

Kotlin

fun serverResponseDuration(): Double?

Objective-C

- (NSNumber *)serverResponseDuration

Swift

public func serverResponseDuration() -> Double?

C#

public virtual Optional<double> serverResponseDuration()

serverCalculationDuration

服务器内部计算耗时(秒)。

C

easyar_OptionalOfDouble easyar_MegaLandmarkTrackerLocalizationResponse_serverCalculationDuration(const easyar_MegaLandmarkTrackerLocalizationResponse * This)

C++

std::optional<double> serverCalculationDuration()

Java

public java.lang.@Nullable Double serverCalculationDuration()

Kotlin

fun serverCalculationDuration(): Double?

Objective-C

- (NSNumber *)serverCalculationDuration

Swift

public func serverCalculationDuration() -> Double?

C#

public virtual Optional<double> serverCalculationDuration()